//
//  Dog.h
//  DogRule
//
//  Created by gzjd on 2017/5/7.
//  Copyright © 2017年 gzjd. All rights reserved.
//

#import <Foundation/Foundation.h>
@protocol DogBark;
@interface Dog : NSObject{
    NSTimer *timer;
    int barkCount;
    int _ID;
    id <DogBark> delegate;
}

@property int ID;
@property (assign) id<DogBark> delegate;
@end


@protocol DogBark <NSObject>
-(void)bark:(Dog *)thisDog count:(int)count;
@end